package com.situ.user.bean;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

@Data
public class Order {
	private String id;

	private Integer userId;

	private Integer addressId;

	@JsonFormat(pattern = "yyyy年MM月dd日 HH:mm", timezone = "GMT+8")
	private Date time;

	private String express;

	private Integer status;

	// 一个订单下可也有多个订单详情
	private List<OrderDetails> orderDetails;

	// 订单地址
	private Address address;
}